package com.hq.facade.user.service.impl;

import com.hq.model.User;
import com.hq.service.IUserService;

import java.util.ArrayList;
import java.util.List;

public class UserServiceImpl implements IUserService {
    @Override
    public List<User> getUserList() {
        List<User> list = new ArrayList<>();
        User user = new User(1, "张三", 30);
        list.add(user);
        user = new User(2, "李四", 40);
        list.add(user);
        user = new User(3, "王五", 50);
        list.add(user);
        return list;
    }
}
